package com.ddtech.business.train.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ddtech.business.train.entity.TrainPlanUser;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bin_pu
 * @since 2023-02-09
 */
public interface TrainPlanUserService extends IService<TrainPlanUser> {
    /**
     * saveInfo
     * @param planId
     * @param userList
     */
    void savePlanUser(String planId, List<TrainPlanUser> userList);

    /**
     * 获取用户部门信息
     * @param id
     * @return
     */
    List<TrainPlanUser> getPlanUserList(String id);
}
